<?php
/**
 * Created by PhpStorm.
 * User: 共赢岛
 * Date: 2023/12/7
 * Time: 8:52
 */

namespace App\Http\Controllers\API\LifeCycle\Index;

use App\Http\Controllers\Controller;
use App\Models\CarPackageOrder;
use App\Services\LifeCycle\IndexService;
use App\Services\LifeCycle\WechatService;
use Illuminate\Http\Request;

class IndexController extends Controller
{

    public function index(Request $request)
    {
        $param = $request->all();
        $package_type = $param['package_type'];

        return $this->success([
            'package' => IndexService::index($package_type),
            'package_help' => IndexService::indexHelp($package_type),
        ]);
    }
}